package com.utils;

import org.apache.shiro.crypto.hash.SimpleHash;

public class MD5Utils {
    private static final  int COUNT=10;
    private static final String TYPE = "md5";
    private static final String SALT = "abc@#$";

    public static String encryption(String str){
        return new SimpleHash(TYPE,str,SALT,COUNT).toString();
    }
}
